package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.UploadFile;
import com.chainyoung.common.bean.UserInfo;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;

import java.util.TreeMap;

import io.reactivex.Flowable;
import okhttp3.RequestBody;

public interface UpdatePwdContract {

    interface View extends IView {

        void updatePwdSuccess(String data);

        void onSendCodeSuccess(String object);

    }

    interface Model extends IModel {

        Flowable<String> updatePwd(TreeMap<String, Object> map);

        Flowable<String> getSendCode(TreeMap<String, Object> map);

    }

}
